package vip.zhenzicheng.design_patterns.responsibility.jdk;

/**
 * @author zhenzicheng
 * @date 2022-05-26 19:02
 */
public class Client {
  public static void main(String[] args) {
    Request req = null;
    Response res = null;

    FilterChain filterChain = new FilterChain();
    filterChain.addFilter(new FirstFilter()).addFilter(new SecondFilter());
    filterChain.doFilter(req, res);
  }
}
